home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13528 < prev    next >
Encoding:
Text File  |  1996-08-05  |  761 b   |  21 lines

  1. Path: eua.ericsson.se!usenet
  2. From: tmpfor@euax6i1c37.eua.ericsson.se (Fredrik Ornlid)
  3. Newsgroups: comp.lang.c++
  4. Subject: Differences between declaration-statements and expression-statements
  5. Date: 26 Mar 1996 11:47:41 GMT
  6. Organization: Ericsson Telecommunication Systems Laboratories
  7. Distribution: world
  8. Message-ID: <TMPFOR.96Mar26124741@euax6i1c37.eua.ericsson.se>
  9. NNTP-Posting-Host: euax6i1c37.eua.ericsson.se
  10. NNTP-Posting-User: tmpfor
  11.  
  12. I'm implementing a C++ parser. Since I don't want to implement the whole
  13. grammar for identifying various expressions and declarations, I wonder if
  14. there is some easy way of determining whether a sequence of tokens is a 
  15. declaration - statement or an expression - statement. 
  16.  
  17. All answers appreciated.
  18.  
  19. -- Fredrik ╓rnlid  
  20.  
  21.